package com.wonder.app.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wonder.app.domain.StkTransferApp;

import java.util.Map;


public interface StkTransferAppService extends IService<StkTransferApp> {
    boolean audit(JSONObject map);

    Map<String, Object> getStkTransferAppList(Map<String, Object> map);

    Map<String, Object> getStkTransferAppDetail(Long user_id,Map<String, Object> map);

    Boolean auditStkTransferApp(Long user_id,String userName, Map<String, Object> map) throws Exception;

    Boolean updateStkTransferAppDetail(Map<String, Object> map)throws Exception;

    /**
     * 调拨申请关闭
     * @param map
     * @return
     * @throws Exception
     */
    boolean applyClose(JSONObject map) throws Exception;

    /**
     * 调拨申请反审核
     * @param map
     * @return
     * @throws Exception
     */
    boolean unAudit(JSONObject map) throws Exception;

    Boolean auditStkTransferAppBaoCai(Long user_id, String userName, Map<String, Object> map) throws Exception;
}
